//package cc.magicjson.scenario.implement.module.jdbc.template.druid.config;
//
//import cc.magicjson.scenario.implement.module.jdbc.template.druid.filter.CustomSQLLogFilter;
//import com.alibaba.druid.pool.DruidDataSource;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class DruidFilterConfig {
//
//    @Bean
//    public CustomSQLLogFilter customSQLLogFilter(DruidDataSource druidDataSource) {
//        CustomSQLLogFilter filter = new CustomSQLLogFilter(druidDataSource);
//        druidDataSource.getProxyFilters().add(filter);
//        return filter;
//    }
//}
